package com.usian.search.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zlm
 * @version 1.0
 * @date 2022/9/28 18:20
 */
@FeignClient("leadnews-behavior")
public interface BehaviorFeign {

    @PostMapping("/api/v1/behavior/entryfind")
    ApBehaviorEntry findByUserIdOrEquipmentId(@RequestParam Integer userId, @RequestParam Integer equipmentId);

}
